package com.itheima.stock.mapper;

import com.itheima.stock.entity.StockMarketLogPrice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;


/**
 * @author 28188
 */
@Mapper
public interface StockMarketLogPriceMapper {

    /**
     * 根据国内大盘id和当前时间 查询大盘交易信息表
     *
     * @param ids  大盘id集合
     * @param localDate 当前时间
     * @return List<StockMarketLogPrice>
     */
    List<StockMarketLogPrice> selectByIdsAndDate(@Param("ids") List<String> ids,@Param("last") LocalDate localDate);
}




